package com.shenda.device.message;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 实际上传的数据
 * 
 * @author lifeng
 */
@Getter
@Setter
@Accessors(chain = true)
public class RespMsg_UploadData extends RespMsg {

	private byte[] data;

	@Override
	public int commandLength() {
		return 4100;
	}

	@Override
	public RespMsg parse(byte[] message) {
		this.data = message;
		return this;
	}
}